using System;
using EventBehaviorTree;

namespace BuffSystem
{
    [Serializable]
    public class TagCondition : FunctionComponent, ICondition
    {
        private TagSystem _tagObject;
        public TagCondition(TagSystem tagObject) { _tagObject = tagObject; }
        public bool Condition() { return _target.CheckTag(_tagObject); }
        public void ResetCondition() { }
    }
}
